﻿namespace TestTool.Proxies.Onvif
{
    using System;
    using System.CodeDom.Compiler;
    using System.ComponentModel;
    using System.Diagnostics;
    using System.Xml.Serialization;

    [Serializable, XmlType(Namespace="http://www.onvif.org/ver10/schema"), DesignerCategory("code"), GeneratedCode("svcutil", "3.0.4506.2152"), DebuggerStepThrough]
    public class IPv4NetworkInterfaceSetConfiguration
    {
        private bool dHCPField;
        private bool dHCPFieldSpecified;
        private bool enabledField;
        private bool enabledFieldSpecified;
        private PrefixedIPv4Address[] manualField;

        [XmlElement(Order=2)]
        public bool DHCP
        {
            get
            {
                return this.dHCPField;
            }
            set
            {
                this.dHCPField = value;
            }
        }

        [XmlIgnore]
        public bool DHCPSpecified
        {
            get
            {
                return this.dHCPFieldSpecified;
            }
            set
            {
                this.dHCPFieldSpecified = value;
            }
        }

        [XmlElement(Order=0)]
        public bool Enabled
        {
            get
            {
                return this.enabledField;
            }
            set
            {
                this.enabledField = value;
            }
        }

        [XmlIgnore]
        public bool EnabledSpecified
        {
            get
            {
                return this.enabledFieldSpecified;
            }
            set
            {
                this.enabledFieldSpecified = value;
            }
        }

        [XmlElement("Manual", Order=1)]
        public PrefixedIPv4Address[] Manual
        {
            get
            {
                return this.manualField;
            }
            set
            {
                this.manualField = value;
            }
        }
    }
}

